﻿/*
=============================================================================
Author:魏宝辉通过CodeSmithe生成
CreatedTime:2012-12-12
Description:BPM_IPWhiteList三层结构模型层
=============================================================================	
*/
using System;
using System.Collections.Generic;
using System.Text;
 
using PWMIS.Common;
using PWMIS.DataMap.Entity;
namespace FTchina.Models
{
	/// <summary>
	/// 
	/// </summary>
	[Serializable()]
	public class BPM_TZGL_CODELIMIT: EntityBase
	{
		
		//不带数的构造方法
        public BPM_TZGL_CODELIMIT()
		{
            TableName = "DY_ZHGL_TZGL_LIMIT";
            EntityMap = EntityMapType.Table;

            //IdentityName = "标识字段名";
            IdentityName = "CODE";

            //PrimaryKeys.Add("主键字段名");
            PrimaryKeys.Add("CODE");
            
 


			
		}
        
        protected override void SetFieldNames()
        {
            PropertyNames = new string[] { "CODE", "STRDATE", "ENDTIME", "UNAME" };
        }  
        
		#region BPM_IPWhiteList Filed

        public System.String CODE
		{
            get { return getProperty<System.String>("CODE"); }
            set { setProperty("CODE", value); }
		}
        public System.DateTime ENDTIME
		{
            get { return getProperty<System.DateTime>("ENDTIME"); }
            set { setProperty("ENDTIME", value); }
		}
        public System.String STRDATE
		{
            get { return getProperty<System.String>("STRDATE"); }
            set { setProperty("STRDATE", value); }
		}

        public System.String UNAME
		{
            get { return getProperty<System.String>("UNAME"); }
            set { setProperty("UNAME", value); }
		}		 
		#endregion
	}
}

